home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: in2.uu.net!allegra!alice!ark
- From: ark@research.att.com (Andrew Koenig)
- Subject: Re: Strongly Typed Function Pointers
- Message-ID: <DLr6Iv.IEp@research.att.com>
- Organization: AT&T Research, Murray Hill NJ
- References: <erik-2401961956090001@annex-dialup02.med.cornell.edu>
- Date: Thu, 25 Jan 1996 20:06:31 GMT
-
- In article <erik-2401961956090001@annex-dialup02.med.cornell.edu> erik@mail.med.cornell.edu (Erik A. Dahl) writes:
-
- > I have a program that I'm porting from C to C++ which uses void (*)(void*)
- > function pointers to call many differant "types" of functions (ones with
- > differant argument lists). This of course works in C but I'm dying in C++
- > with compiler errors (becuase the pointer isn't of the right type). Is
- > there an easy way around this problem??
-
- It is not guaranteed to work even in C.
- --
- --Andrew Koenig
- ark@research.att.com
-